﻿
 using System;
using rmyy.Model;
using rmyy.IRepository;
using rmyy.Repository;
namespace rmyy.RepositoryFactory
{	
	public partial class DBSession
	{
	
	private IcwkRepository _cwkRepository;
	public IcwkRepository cwkRepository
	{
		get
		{
			_cwkRepository=_cwkRepository??(AbstractFactory.CreatecwkRepository());
			return _cwkRepository;

		}
		set
		{
			_cwkRepository=value;
		}
	}
	
	
	private ImchkRepository _mchkRepository;
	public ImchkRepository mchkRepository
	{
		get
		{
			_mchkRepository=_mchkRepository??(AbstractFactory.CreatemchkRepository());
			return _mchkRepository;

		}
		set
		{
			_mchkRepository=value;
		}
	}
	
	
	private IspkfkRepository _spkfkRepository;
	public IspkfkRepository spkfkRepository
	{
		get
		{
			_spkfkRepository=_spkfkRepository??(AbstractFactory.CreatespkfkRepository());
			return _spkfkRepository;

		}
		set
		{
			_spkfkRepository=value;
		}
	}
	
	
	private IywmxkRepository _ywmxkRepository;
	public IywmxkRepository ywmxkRepository
	{
		get
		{
			_ywmxkRepository=_ywmxkRepository??(AbstractFactory.CreateywmxkRepository());
			return _ywmxkRepository;

		}
		set
		{
			_ywmxkRepository=value;
		}
	}
	
	}
}
